package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "address")
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(length = 11, name = "id", index = true)
    private Integer id;

    private Integer userId;

    private String receiver;

    private String address;

    private Integer postCode;

    private String mobile;

    private Integer provinceId;

    private Integer cityId;

    private Integer townId;

    private Integer status;

    private Date createTime;

    @NoColumn
    private SsProvinces province;//省份
    @NoColumn
    private SsCities city;//城市
    @NoColumn
    private SsArea town;//行政区，城镇


}
